 <div id="wrapper-content">
 <div id="viewactu" align="center"> 
 <div align="center" id="titre_viewactu" >INFORMATION CLIENT</div>
<table id="formactu" cellpadding="10px" cellspacing="0">
<tr> <td>Nom du client</td> <td><?php echo $user['nom'];?></td> </tr>
<tr> <td>P&eacute;nom </td> <td><?php echo $user['prenom'];?></td> </tr> 
<tr> <td>Email </td> <td><?php echo $user['email'];?></td> </tr> 
<tr> <td>T&eacute;l&eacute;phone</td> <td><?php echo $user['tel'];?></td> </tr> 
<tr> <td>Adresse</td><td><?php echo $user['adresse'];?></td> </tr>
</table>
 </div>
<table class="titrepage" width="100%">
        <tr>              
     <td >La liste des commandes de ce client</td>
 </tr>
 </table>
 <?php if(!empty($order)){?>
 <table width="100%" class="list">
        <thead>
        <tr>
             <th>Date</th>
             <th>Montant</th>
            <th>M&eacute;thode de paiement</th>
            <th>Action</th>       
         </tr>    
        </thead>
    <?php foreach ($order as $aRow):?>
        <tr>
             <td><?php echo $aRow['dat'];?></td>
            <td><?php echo $aRow['montant'];?></td>
            <td><?php echo $aRow['methodnom'];?></td>
     <td width="70px"><a  href="<?php echo site_url('order/detail_order').'/'.$aRow['id'];?>" ><img border="0"src="<?php echo base_url().'assets/admin/'?>images/detail.png"/></a></td>
           

    </td>
         </tr>
    <?php endforeach;?> 
     </table>
<?php }else {echo "Ce client n'a aucun commande";}?>
</div>
